//
//  BIDSectionHeaderForStudentListView.h
//  EducationAssistant
//
//  Created by mal on 15/9/13.
//  Copyright (c) 2015年 cnsoft. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol BIDSectionHeaderForMemberListViewDelegate <NSObject>

- (void)sectionHeaderSelectAtIndex:(NSUInteger)index selected:(BOOL)bSelect;

- (void)sectionHeaderTapAtIndex:(NSUInteger)index;

@end

@interface BIDSectionHeaderForMemberListView : UIView
{
    IBOutlet UILabel *_redDotLabel;
    IBOutlet NSLayoutConstraint *_widthForNameLabelConstraint;
}

@property (strong, nonatomic) IBOutlet UILabel *flagLabel;

@property (strong, nonatomic) IBOutlet UILabel *nameLabel;

@property (strong, nonatomic) IBOutlet UIButton *checkboxBtn;

@property (strong, nonatomic) IBOutlet UIImageView *imgView;

@property (assign, nonatomic) NSUInteger section;

@property (assign, nonatomic) id<BIDSectionHeaderForMemberListViewDelegate> delegate;

- (void)choose;
- (void)inchoose;

- (void)hideCheckbox;

- (void)showRedDot:(BOOL)bShow;

- (void)setNameLabelText:(NSString*)name;

@end
